program Gotoo;
label
	13,14,15;
begin
	writeln(1);
	goto 14;
13:
	writeln(3);
	goto 15;
14:
	writeln(2);
	goto 13;
15:
	writeln(4);
end.
